import { createRouter, createWebHashHistory } from 'vue-router'
import index from '@/views/Index.vue'

const routerHistory = createWebHashHistory()
const router = createRouter({
  history: routerHistory,
  routes: [
    {
      path: '/',
      name: 'index',
      component: index,
      // redirect: 'hot',
      children: [
        // {
        //   name: 'movie',
        //   path: 'movie',
        //   component: movie,
        // }
      ]
    }
  ]
})

export default router
